import { herinRequist } from "../http.js";
// 车辆管理
const Vehicle = {
	getVehiclePassCount(type) {
		return herinRequist({ url: '/app/vehicle-pass-count', method: 'GET', data: { type } });
	},
	getVehiclePassList(data) {
		return herinRequist({ url: '/app/vehicle-pass-list', method: 'GET', data });
	},
	getVehiclePassDetail(id) {
		return herinRequist({ url: '/app/vehicle-pass-detail', method: 'GET', data: { id } });
	},
	getVehicleWhiteList(data) {
		return herinRequist({ url: '/app/vehicle-white-list', method: 'GET', data });
	},
	getVehicleBlackList(data) {
		return herinRequist({ url: '/app/vehicle-black-list', method: 'GET', data });
	},
	getVehicleListInfo(id) {
		return herinRequist({ url: '/app/vehicle-blackwhite-detail', method: 'GET', data: { id } });
	},
	getVehicleCharts(type) {
		return herinRequist({ url: '/app/vehicle-chart', method: 'GET', data: { type } });
	}
};

export default Vehicle;
